package com.tianzmp.ttq.admin.controller.reqDto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author zhumengping
 */
@Getter
@Setter
@ToString
public class UserInfoUpdateDTO implements Serializable {

    @ApiModelProperty(value = "用户id")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("账号")
    private String account;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("头像ID")
    private Long imageId;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "座机")
    private String mobile;

    @ApiModelProperty(value = "qq")
    private String qq;

    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "是否锁住",example = "1")
    private Integer locked;

}
